﻿using MyProject.Core;
using MyProject.Services.ListItem;
using MyProject.ViewsModel.Chart;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace MyProject.Views.Chart
{
    /// <summary>
    /// Логика взаимодействия для ChartDialog.xaml
    /// </summary>
    public partial class ChartDialog : Window
    {
        private ChartDialogContext Context { set; get; }
        public ChartDialog()
        {
            this.Context = new ChartDialogContext();
            DataContext = this.Context;
            InitializeComponent();


            this.Context.Calculate(count_1, count_2, chart);
        }
    }
}
